package org.mcflier.appuntamento.data.model;

import org.mcflier.appuntamento.data.model.abstracts.AbstractGenre;

public class Genre extends AbstractGenre {

	private int id;
	private String name;
	
	public Genre(int id, String name) {
		super(id, name);
	}

	@Override
	public int getId() {
		return this.id;
	}

	@Override
	protected void setId(int id) {
		this.id = id;
	}

	@Override
	public String getName() {
		return this.name;
	}

	@Override
	protected void setName(String name) {
		this.name = name;
	}
	
	public String toString(){
		return this.getId()+" "+this.getName();
	}
}